<template>
	<view class="ship">
		<view class="ship-content">
			<view class="ship-title">
				{{titles[atype]}}
			</view>
			<view class="ship-auth">
				<uv-upload :fileList="[]" name="1" multiple :maxCount="1" width="250" height="150">
					<view class="auth-upload">
						{{titles1[atype]}}
					</view>
				</uv-upload>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				atype: "",
				titles: ["", "", "婚姻状况认证", "学历认证", "房产认证", "汽车认证", "工作认证"],
				titles1: ["", "", "上传离婚证", "上传学历证书", "上传房产证", "上传汽车登记证", "上传工作证"]
			}
		},
		onLoad(option) {
			this.atype = option.atype
		}
	}
</script>

<style lang="scss" scoped>
	.ship {
		padding-top: 52rpx;
		width: 750rpx;
		height: 400rpx;

		.ship-content {
			width: 750rpx;
			height: 400rpx;
			padding-left: 48rpx;
			padding-right: 48rpx;
			// background-color: red;

			.ship-title {
				height: 56rpx;
				font-size: 40rpx;
				font-family: PingFangSC, PingFang SC;
				font-weight: 600;
				color: #333333;
			}

			.ship-auth {
				width: 654rpx;
				height: 445rpx;
				background: #FBFBFB;
				border-radius: 16rpx;
				margin-top: 62rpx;
				display: flex;
				align-items: center;
				justify-content: center;

				.auth-upload {
					height: 40rpx;
					font-size: 28rpx;
					font-family: PingFangSC, PingFang SC;
					font-weight: 400;
					color: #666666;
				}
			}
		}
	}
</style>